package com.api.oa.model.entity;


import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

@Data
public class YQBanner {
    private Long bannerId;// bigint NOT NULL AUTO_INCREMENT,
    private String resUrl;// varchar(255) DEFAULT NULL COMMENT '资源地址',
    private Integer isTop;// int DEFAULT NULL COMMENT '是否置顶',
    private Integer isEnable;// int DEFAULT NULL COMMENT '是否显示',
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    private Date sortTime;// datetime DEFAULT NULL COMMENT '排序时间',
    private String bannerRes; //跳转资源
}
